<!DOCTYPE HTML>

<html lang="en">
<head>

<title>SaveContextOnUpdateOrErrorResponseWrapper (spring-security-docs 5.6.3 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="SaveContextOnUpdateOrErrorResponseWrapper (spring-security-docs 5.6.3 API)";
        }
    }
    catch(err) {
    }
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">

<div class="topNav"><a id="navbar.top">

</a>
<div class="skipNav"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">

</a></div>

</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>

<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.springframework.security.web.context</a></div>
<h2 title="Class SaveContextOnUpdateOrErrorResponseWrapper" class="title">Class SaveContextOnUpdateOrErrorResponseWrapper</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>javax.servlet.ServletResponseWrapper</li>
<li>
<ul class="inheritance">
<li>javax.servlet.http.HttpServletResponseWrapper</li>
<li>
<ul class="inheritance">
<li><a href="../util/OnCommittedResponseWrapper.html" title="class in org.springframework.security.web.util">org.springframework.security.web.util.OnCommittedResponseWrapper</a></li>
<li>
<ul class="inheritance">
<li>org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>javax.servlet.http.HttpServletResponse</code>, <code>javax.servlet.ServletResponse</code></dd>
</dl>
<hr>
<pre>public abstract class <span class="typeNameLabel">SaveContextOnUpdateOrErrorResponseWrapper</span>
extends <a href="../util/OnCommittedResponseWrapper.html" title="class in org.springframework.security.web.util">OnCommittedResponseWrapper</a></pre>
<div class="block">Base class for response wrappers which encapsulate the logic for storing a security
context and which store the <code>SecurityContext</code> when a
<code>sendError()</code>, <code>sendRedirect</code>,
<code>getOutputStream().close()</code>, <code>getOutputStream().flush()</code>,
<code>getWriter().close()</code>, or <code>getWriter().flush()</code> happens on the
same thread that this <a href="SaveContextOnUpdateOrErrorResponseWrapper.html" title="class in org.springframework.security.web.context"><code>SaveContextOnUpdateOrErrorResponseWrapper</code></a> was created.
See issue SEC-398 and SEC-2005.
<p>
Sub-classes should implement the <a href="SaveContextOnUpdateOrErrorResponseWrapper.html#saveContext(org.springframework.security.core.context.SecurityContext)"><code>saveContext(SecurityContext context)</code></a> method.
<p>
Support is also provided for disabling URL rewriting</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.0</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">

</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.javax.servlet.http.HttpServletResponse">

</a>
<h3>Fields inherited from interface&nbsp;javax.servlet.http.HttpServletResponse</h3>
<code>SC_ACCEPTED, SC_BAD_GATEWAY, SC_BAD_REQUEST, SC_CONFLICT, SC_CONTINUE, SC_CREATED, SC_EXPECTATION_FAILED, SC_FORBIDDEN, SC_FOUND, SC_GATEWAY_TIMEOUT, SC_GONE, SC_HTTP_VERSION_NOT_SUPPORTED, SC_INTERNAL_SERVER_ERROR, SC_LENGTH_REQUIRED, SC_METHOD_NOT_ALLOWED, SC_MOVED_PERMANENTLY, SC_MOVED_TEMPORARILY, SC_MULTIPLE_CHOICES, SC_NO_CONTENT, SC_NON_AUTHORITATIVE_INFORMATION, SC_NOT_ACCEPTABLE, SC_NOT_FOUND, SC_NOT_IMPLEMENTED, SC_NOT_MODIFIED, SC_OK, SC_PARTIAL_CONTENT, SC_PAYMENT_REQUIRED, SC_PRECONDITION_FAILED, SC_PROXY_AUTHENTICATION_REQUIRED, SC_REQUEST_ENTITY_TOO_LARGE, SC_REQUEST_TIMEOUT, SC_REQUEST_URI_TOO_LONG, SC_REQUESTED_RANGE_NOT_SATISFIABLE, SC_RESET_CONTENT, SC_SEE_OTHER, SC_SERVICE_UNAVAILABLE, SC_SWITCHING_PROTOCOLS, SC_TEMPORARY_REDIRECT, SC_UNAUTHORIZED, SC_UNSUPPORTED_MEDIA_TYPE, SC_USE_PROXY</code></li>
</ul>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">

</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#%3Cinit%3E(javax.servlet.http.HttpServletResponse,boolean)">SaveContextOnUpdateOrErrorResponseWrapper</a></span>&#8203;(javax.servlet.http.HttpServletResponse&nbsp;response,
boolean&nbsp;disableUrlRewriting)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">

</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#disableSaveOnResponseCommitted()">disableSaveOnResponseCommitted</a></span>()</code></th>
<td class="colLast">
<div class="block">Invoke this method to disable automatic saving of the <a href="../../core/context/SecurityContext.html" title="interface in org.springframework.security.core.context"><code>SecurityContext</code></a> when
the <code>HttpServletResponse</code> is committed.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#encodeRedirectUrl(java.lang.String)">encodeRedirectUrl</a></span>&#8203;(java.lang.String&nbsp;url)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#encodeRedirectURL(java.lang.String)">encodeRedirectURL</a></span>&#8203;(java.lang.String&nbsp;url)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#encodeUrl(java.lang.String)">encodeUrl</a></span>&#8203;(java.lang.String&nbsp;url)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#encodeURL(java.lang.String)">encodeURL</a></span>&#8203;(java.lang.String&nbsp;url)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#isContextSaved()">isContextSaved</a></span>()</code></th>
<td class="colLast">
<div class="block">Tells if the response wrapper has called <code>saveContext()</code> because of this
wrapper.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#onResponseCommitted()">onResponseCommitted</a></span>()</code></th>
<td class="colLast">
<div class="block">Calls <code>saveContext()</code> with the current contents of the
<tt>SecurityContextHolder</tt> as long as <a href="SaveContextOnUpdateOrErrorResponseWrapper.html#disableSaveOnResponseCommitted()"><code>()</code></a> was not invoked.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected abstract void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#saveContext(org.springframework.security.core.context.SecurityContext)">saveContext</a></span>&#8203;(<a href="../../core/context/SecurityContext.html" title="interface in org.springframework.security.core.context">SecurityContext</a>&nbsp;context)</code></th>
<td class="colLast">
<div class="block">Implements the logic for storing the security context.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.springframework.security.web.util.OnCommittedResponseWrapper">

</a>
<h3>Methods inherited from class&nbsp;org.springframework.security.web.util.<a href="../util/OnCommittedResponseWrapper.html" title="class in org.springframework.security.web.util">OnCommittedResponseWrapper</a></h3>
<code><a href="../util/OnCommittedResponseWrapper.html#addHeader(java.lang.String,java.lang.String)">addHeader</a>, <a href="../util/OnCommittedResponseWrapper.html#disableOnResponseCommitted()">disableOnResponseCommitted</a>, <a href="../util/OnCommittedResponseWrapper.html#flushBuffer()">flushBuffer</a>, <a href="../util/OnCommittedResponseWrapper.html#getOutputStream()">getOutputStream</a>, <a href="../util/OnCommittedResponseWrapper.html#getWriter()">getWriter</a>, <a href="../util/OnCommittedResponseWrapper.html#isDisableOnResponseCommitted()">isDisableOnResponseCommitted</a>, <a href="../util/OnCommittedResponseWrapper.html#sendError(int)">sendError</a>, <a href="../util/OnCommittedResponseWrapper.html#sendError(int,java.lang.String)">sendError</a>, <a href="../util/OnCommittedResponseWrapper.html#sendRedirect(java.lang.String)">sendRedirect</a>, <a href="../util/OnCommittedResponseWrapper.html#setContentLength(int)">setContentLength</a>, <a href="../util/OnCommittedResponseWrapper.html#setContentLengthLong(long)">setContentLengthLong</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.javax.servlet.http.HttpServletResponseWrapper">

</a>
<h3>Methods inherited from class&nbsp;javax.servlet.http.HttpServletResponseWrapper</h3>
<code>addCookie, addDateHeader, addIntHeader, containsHeader, getHeader, getHeaderNames, getHeaders, getStatus, getTrailerFields, setDateHeader, setHeader, setIntHeader, setStatus, setStatus, setTrailerFields</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.javax.servlet.ServletResponseWrapper">

</a>
<h3>Methods inherited from class&nbsp;javax.servlet.ServletResponseWrapper</h3>
<code>getBufferSize, getCharacterEncoding, getContentType, getLocale, getResponse, isCommitted, isWrapperFor, isWrapperFor, reset, resetBuffer, setBufferSize, setCharacterEncoding, setContentType, setLocale, setResponse</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">

</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.javax.servlet.ServletResponse">

</a>
<h3>Methods inherited from interface&nbsp;javax.servlet.ServletResponse</h3>
<code>getBufferSize, getCharacterEncoding, getContentType, getLocale, isCommitted, reset, resetBuffer, setBufferSize, setCharacterEncoding, setContentType, setLocale</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">

</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(javax.servlet.http.HttpServletResponse,boolean)">

</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SaveContextOnUpdateOrErrorResponseWrapper</h4>
<pre>public&nbsp;SaveContextOnUpdateOrErrorResponseWrapper&#8203;(javax.servlet.http.HttpServletResponse&nbsp;response,
                                                 boolean&nbsp;disableUrlRewriting)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>response</code> - the response to be wrapped</dd>
<dd><code>disableUrlRewriting</code> - turns the URL encoding methods into null operations,
preventing the use of URL rewriting to add the session identifier as a URL
parameter.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">

</a>
<h3>Method Detail</h3>
<a id="disableSaveOnResponseCommitted()">

</a>
<ul class="blockList">
<li class="blockList">
<h4>disableSaveOnResponseCommitted</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;disableSaveOnResponseCommitted()</pre>
<div class="block">Invoke this method to disable automatic saving of the <a href="../../core/context/SecurityContext.html" title="interface in org.springframework.security.core.context"><code>SecurityContext</code></a> when
the <code>HttpServletResponse</code> is committed. This can be useful in the event that
Async Web Requests are made which may no longer contain the <a href="../../core/context/SecurityContext.html" title="interface in org.springframework.security.core.context"><code>SecurityContext</code></a>
on it.</div>
</li>
</ul>
<a id="saveContext(org.springframework.security.core.context.SecurityContext)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>saveContext</h4>
<pre class="methodSignature">protected abstract&nbsp;void&nbsp;saveContext&#8203;(<a href="../../core/context/SecurityContext.html" title="interface in org.springframework.security.core.context">SecurityContext</a>&nbsp;context)</pre>
<div class="block">Implements the logic for storing the security context.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - the <tt>SecurityContext</tt> instance to store</dd>
</dl>
</li>
</ul>
<a id="onResponseCommitted()">

</a>
<ul class="blockList">
<li class="blockList">
<h4>onResponseCommitted</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;onResponseCommitted()</pre>
<div class="block">Calls <code>saveContext()</code> with the current contents of the
<tt>SecurityContextHolder</tt> as long as <a href="SaveContextOnUpdateOrErrorResponseWrapper.html#disableSaveOnResponseCommitted()"><code>()</code></a> was not invoked.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../util/OnCommittedResponseWrapper.html#onResponseCommitted()">onResponseCommitted</a></code>&nbsp;in class&nbsp;<code><a href="../util/OnCommittedResponseWrapper.html" title="class in org.springframework.security.web.util">OnCommittedResponseWrapper</a></code></dd>
</dl>
</li>
</ul>
<a id="encodeRedirectUrl(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>encodeRedirectUrl</h4>
<pre class="methodSignature">public final&nbsp;java.lang.String&nbsp;encodeRedirectUrl&#8203;(java.lang.String&nbsp;url)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>encodeRedirectUrl</code>&nbsp;in interface&nbsp;<code>javax.servlet.http.HttpServletResponse</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>encodeRedirectUrl</code>&nbsp;in class&nbsp;<code>javax.servlet.http.HttpServletResponseWrapper</code></dd>
</dl>
</li>
</ul>
<a id="encodeRedirectURL(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>encodeRedirectURL</h4>
<pre class="methodSignature">public final&nbsp;java.lang.String&nbsp;encodeRedirectURL&#8203;(java.lang.String&nbsp;url)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>encodeRedirectURL</code>&nbsp;in interface&nbsp;<code>javax.servlet.http.HttpServletResponse</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>encodeRedirectURL</code>&nbsp;in class&nbsp;<code>javax.servlet.http.HttpServletResponseWrapper</code></dd>
</dl>
</li>
</ul>
<a id="encodeUrl(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>encodeUrl</h4>
<pre class="methodSignature">public final&nbsp;java.lang.String&nbsp;encodeUrl&#8203;(java.lang.String&nbsp;url)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>encodeUrl</code>&nbsp;in interface&nbsp;<code>javax.servlet.http.HttpServletResponse</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>encodeUrl</code>&nbsp;in class&nbsp;<code>javax.servlet.http.HttpServletResponseWrapper</code></dd>
</dl>
</li>
</ul>
<a id="encodeURL(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>encodeURL</h4>
<pre class="methodSignature">public final&nbsp;java.lang.String&nbsp;encodeURL&#8203;(java.lang.String&nbsp;url)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>encodeURL</code>&nbsp;in interface&nbsp;<code>javax.servlet.http.HttpServletResponse</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>encodeURL</code>&nbsp;in class&nbsp;<code>javax.servlet.http.HttpServletResponseWrapper</code></dd>
</dl>
</li>
</ul>
<a id="isContextSaved()">

</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isContextSaved</h4>
<pre class="methodSignature">public final&nbsp;boolean&nbsp;isContextSaved()</pre>
<div class="block">Tells if the response wrapper has called <code>saveContext()</code> because of this
wrapper.</div>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>

<footer role="contentinfo">
<nav role="navigation">

<div class="bottomNav"><a id="navbar.bottom">

</a>
<div class="skipNav"><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="SaveContextOnUpdateOrErrorResponseWrapper.html#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">

</a></div>

</nav>
</footer>
<script>if (window.parent == window) {(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-2728886-23', 'auto', {'siteSpeedSampleRate': 100});ga('send', 'pageview');}</script><script defer src="https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194" integrity="sha512-Gi7xpJR8tSkrpF7aordPZQlW2DLtzUlZcumS8dMQjwDHEnw9I7ZLyiOj/6tZStRBGtGgN6ceN6cMH8z7etPGlw==" data-cf-beacon='{"rayId":"7040f0a99c5a97cf","token":"bffcb8a918ae4755926f76178bfbd26b","version":"2021.12.0","si":100}' crossorigin="anonymous"></script>
</body>
</html>
